package model;

import model.address.Address;

public class Posterminal {
	private int id;
	private Address adr = new Address();
	private boolean editable = false; 
	
	public Posterminal(){
		
	}
	
	public Posterminal(int id, String address) {
		this.id = id;
		this.adr.setAddressName(address);
	}

	public void setAddress(String address) {
		adr.setAddressName(address);	
	}

	public String getAddress() {
		return adr.getAddressName();
	}
	
	public void setId(int id) {
		this.id=id;	
	}

	public int getId() {
		return id;
	}
	
	public void setEditable(boolean editable) {
		this.editable = editable;
	}
	
	public boolean getEditable() {
		return editable;
	}
	

}
